package com.mye.prometheusexportdcim.configuration;

import com.github.lianjiatech.retrofit.spring.boot.annotation.RetrofitClient;
import com.mye.prometheusexportdcim.basemodel.HttpResponseTemp;
import com.mye.prometheusexportdcim.model.gaugeMetric.GaugeMetric;
import retrofit2.http.GET;
import retrofit2.http.Url;

import java.util.List;

/**
 * @author hch
 * @date 2022年04月29日 15:16
 */


@RetrofitClient(baseUrl = "http://localhost",poolName = "test1")
public interface HttpClient {

    @GET
    HttpResponseTemp<List<GaugeMetric>> getMetrics(@Url String url) ;


}
